﻿using Microsoft.AspNetCore.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.Services.AuthorizeHelper
{
    public class PermissionRequirement: IAuthorizationRequirement
    {
        public PermissionRequirement(string path)
        {
            Path = path;
        }
        /// <summary>
        /// 获取地址
        /// </summary>
        public string? Path { get; set; }
    }
}
